<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java"  pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<fmt:setBundle basename="bundles.autobaseBundle" />
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    	
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Time Reporting System</title>
        <link href="../layout/css/main.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="../layout/jsc/jquery.min.js"></script>
        <script type="text/javascript" src="../layout/jsc/jquery.global.js"></script>
        <script type="text/javascript" src="../layout/jsc/blockUI.js"></script>
        <script type="text/javascript" src="../layout/jsc/jquery.simplemodal.js"></script>
    </head>

    <body>

        <div id="authorization">
            <h2><fmt:message key="index.authorization" /></h2>
            <form action="login.do" method="post" >
                <input name="email" type="text" onclick="this.value=''; this.onclick='';" value="mail@example.com" />
                <input name="pass" onclick="this.value=''; this.onclick='';" value="password" type="password" />
                <input type="image" src="layout/img/auth_button.png" align="right" />
                <div class="clear"></div>
            </form>
        </div>

        <table id="conteiner">
            <tr>
                <td id="header">
                    <div id="user_cabinet">
                    	<c:set var="session" value="${sessionScope['auth'] }"></c:set>
                    	<c:if test="${ not empty session }">
                    		<a href="logout.do" ><fmt:message key="index.logout" /></a>
                    	</c:if>
                        <c:if test="${ empty session }">
                    		<a href="#" name="authorization"><fmt:message key="index.authorization" /></a>
                    	</c:if>
                       | <a href="register.do" name="register"><fmt:message key="index.registration" /></a>
                    	
                    </div>
                </td>
            </tr>
            <tr>
            	<td id="content_center">
                	<h1>Time Reporting System</h1>
                	<div>Time Reporting System</div>
                	<h1>Time Reporting System</h1>
                	<div>Time Reporting System</div>	
                	<h1>Time Reporting System</h1>
                	<h1>Time Reporting System</h1>
                </td>
            </tr>
            <tr>
                <jsp:include page="WEB-INF/jsp/footer.jsp" />
            </tr>

        </table>
    </body>
</html>